package com.candy.IO;

import java.io.File;
import java.io.FilenameFilter;

public class MyFile implements FilenameFilter {

    @Override
    public boolean accept(File dir, String name){
        if(name.endsWith(".mp4")){
            return true;
        }else {
            return false;
        }
    }
}
